<!-- callService -->
<template>
  <div>
    <div class="fixedIcon" @click="()=>visiblePopup=true">
      <div class="inner">
        <p>联系</p>
        <p>客服</p>
      </div>
    </div>
    <mt-popup v-model="visiblePopup" class="tip-pop">
      <p>添加客服咨询</p>
      <p>微信号码:THMShou</p>
      <img src="http://source.sportjx.com:8088/img/files/help.jpg" alt="">
      <p>长按识别二维码添加客服微信</p>
      <p>客服工作时间: 9:00—18:00</p>
    </mt-popup>
  </div>
</template>
<script>
  import {
    Popup
  } from 'mint-ui'
  export default {
    name: 'service-icon',
    data() {
      return {
        visiblePopup: false
      }
    },
    props: {},
    components: {
      Popup
    },
    methods: {},
    mounted() {}
  }

</script>
<style lang='scss' scoped>
  @import '~assets/common/css/mixin.scss';
  .mint-popup {
    transform: translate3d(-50%, -50%, 0);
    -webkit-transform: translate3d(-50%, -50%, 0);
  }

  .fixedIcon {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 2000;
    background: #ff6700;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    border-radius: 50%;
    .inner{
      width:30px;
      height:30px;
    }
  }

  .tip-pop {
    text-align: center;
    font-size: 13px;
    padding: 20px;
    color: #333333;
    width: 80%;
    height: auto;
    border-radius: 3px;
    p {
      line-height: 20px;
    }
    img {
      width: 80%;
    }
  }

</style>
